/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      AccountServiceImpl.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-7-30 下午08:26:13
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.core.service.assist.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.isoftstone.industry.persistance.bean.Account;
import com.isoftstone.industry.aaa.core.dao.assist.AccountDao;
import com.isoftstone.industry.aaa.core.service.assist.IAccountService;
import com.isoftstone.modules.core.persistence.IGenericDao;
import com.isoftstone.modules.core.service.impl.GenericServiceImpl;

/**
 * @author jacky
 */
@Service
public class AccountServiceImpl extends GenericServiceImpl<Account, String> implements IAccountService
{

	@Resource
	private AccountDao	accountDao;

	@Override
	public IGenericDao<Account, String> getDao()
	{
		return accountDao;
	}

	@Override
	public Account findByUser(String userId)
	{
		return accountDao.findByUserId(userId);
	}

}
